{template 'default','headerclass'}
<div id="wrap">
    <div id="top"></div>
    <div id="container" class="clearfix">
					{template 'default','member_left'}
        <div id="main" class="edufe_fl">
            <form action="{URL}" method="post" onsubmit="return r_submit(this);">
                <div class="title">相册</div>
                <div class="con" style="padding:0;">
                    {if $self}
                    <div class="btnBox" style="margin-bottom:10px;">
                        <a href="/member.php?action=add_photo" class="btn_add">添加</a>
                    </div>
                    {/if}
                    <ul class="photo_list clearfix">
                        {loop $data $r}
                        <li>
                            <a href="{$r['photopath']}" target="_blank"><img src="{thumb($r['photopath'], 170,130)}" width="170" height="130" /></a>
                            <div class="btnBox">
                                <a href="javascript:my_request('/member.php?action=del_photo&id={$r['id']}','确认要删除吗？')" class="btn_del">删除</a>
                            </div>
                        </li>
                        {/loop}
                    </ul>
                </div>
                <div  align="center" id="pages_new">{$pages}</div>
            </form>
        </div>
    </div>
    {template 'default','footer'}
